<template>
  <div id="app">
    <!--<img src="./assets/logo.png">-->
    <!-- <router-view/> -->
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive">
        <!-- 这里是会被缓存的视图组件 -->
      </router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive">
      <!-- 这里是不被缓存的视图组件 -->
    </router-view>
  </div>
</template>
<script>
export default {
  name: 'app',
};

</script>
<style>
@import 'http://at.alicdn.com/t/font_8d5l8fzk5b87iudi.css';
@import 'http://cdn.amazeui.org/amazeui/2.7.2/css/amazeui.css'
/*#app {*/


/*font-family: 'Avenir', Helvetica, Arial, sans-serif;*/


/*-webkit-font-smoothing: antialiased;*/


/*-moz-osx-font-smoothing: grayscale;*/


/*text-align: center;*/


/*color: #2c3e50;*/


/*margin-top: 60px;*/


/*}*/

* {
  margin: 0;
  padding: 0;
}

.el-header,
.el-footer {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  /*line-height: 200px;*/
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  /*line-height: 160px;*/
}

body>.el-container {
  /*margin-bottom: 40px;*/
}



/*.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}*/

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}

</style>
